package cc.mrbird.febs.buss.mapper;

import cc.mrbird.febs.buss.entity.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.*;
/**
 *  Mapper
 *
 * @author Lujingyuan
 * @date 2021-10-07 19:22:09
 */
public interface ItemMapper extends BaseMapper<Item> {
    IPage<Item> findItemDetailPageByMap(Page page, @Param("map") Map map);
    int insertOne(Item item);
    List<Item> selectByMap(@Param("map") Map<String,Object> map);
}
